Learn R Programming

changepoint (version 0.3)

cpts<-: Generic Function - cpts<-

Description

Generic function

Usage

cpts(object)<-value

Arguments

object
Depending on the class of object depends on the method used (and if one exists)
value
Replacement value

Value

  • Depends on the class of object, see individual methods

Details

Generic function.

See Also

cpts<--methods

Examples

Run this code
x=new("cpt") # new cpt object
cpts(x)<-10 # replaces the vector of changepoint in object x with 10

Run the code above in your browser using DataLab